package com.zkc.bootnew.webservice;

import com.zkc.springbootnew.bean.Contact_user;

import java.util.List;

public interface webuserservice {

    /*显示全部用户*/
     public List<Contact_user> userAll() throws Exception;

     /*修改单个查询*/
    public Contact_user usersingle(Integer id) throws Exception;

    /*用户修改*/
    public Integer usermodify(Contact_user contact_user) throws  Exception;

    /*用户删除*/
    public Integer userdelete(Integer xid) throws Exception;

    /*用户添加*/
    public Integer UserAdd(Contact_user contact_user) throws Exception;

    /*更具用户输入的用户名进行单个查询*/
    public Contact_user UserLogin(String ContactAlias) throws Exception;

    /*登录*/
    public String doLogin(Contact_user user, String password, String userAgent) throws Exception;

}
